package org.byqh.dqeai.entity;

import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.EntityFileProxy;
import com.easy.query.core.annotation.Table;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.byqh.dqeai.entity.proxy.SysAsstTrainProxy;
import org.byqh.dqeai.util.StringBlobHandler;

/**
 * 应用、模块、自定义应用的语音训练表 实体类。
 *
 * @author easy-query-plugin automatic generation
 * @since 1.0
 */
@Data
@Schema(name = "SysAsstTrain", description = "应用、模块、自定义应用的语音训练表")
@Table(value = "SYS_ASST_TRAIN")
@EntityFileProxy
public class SysAsstTrain implements ProxyEntityAvailable<SysAsstTrain, SysAsstTrainProxy> {

    /**
     * 训练ID
     */
    @Schema(description = "训练ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @Column(primaryKey = true, value = "TRAIN_ID")
    private String trainId;

    /**
     * 训练结果字符串
     */
    @Schema(description = "训练结果字符串")
    @Column(value = "TRAIN_TEXT")
    private String trainText;

    /**
     * 训练结果拼音
     */
    @Schema(description = "训练结果拼音")
    @Column(value = "TRAIN_PY")
    private String trainPy;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    @Column(value = "USER_ID")
    private String userId;

    /**
     * 训练类型;0:动作;1应用;2模块;3自定义应用
     */
    @Schema(description = "训练类型;0:动作;1应用;2模块;3自定义应用")
    @Column(value = "TRAIN_TYPE")
    private String trainType;

    /**
     * 关联信息(应用或模块ID)
     */
    @Schema(description = "关联信息(应用或模块ID)")
    @Column(value = "TRAIN_LINK")
    private String trainLink;

    /**
     * 训练语音
     */
    @Schema(description = "训练语音")
    @Column(value = "TRAIN_WAV", typeHandler = StringBlobHandler.class)
    private String trainWav;
}
